Skip to content

Conversation

@jake-valsamis
Copy link
Contributor

Add Support for Pipelines Route and Data Asset Creation from Custom S3 Endpoint

This PR adds custom S3 endpoint functionality for version 4.1 compatibility, and comprehensive pipeline support.

Changes

New pipeline.py module:

  • Pipeline, PipelineSearchParams, PipelineSearchResults classes
  • Pipelines client with methods: get_pipeline(), delete_pipeline(), search_pipelines(), search_pipelines_iterator(), list_computations(), update_permissions(), attach_data_assets(), detach_data_assets(), archive_pipeline(), get_pipeline_app_panel()

Refactored components.py:

  • Moved AppPanel classes from capsule.py to components.py for shared use between capsules and pipelines
  • Added AppPanel, AppPanelCategories, AppPanelParameters, AppPanelGeneral, AppPanelDataAsset, AppPanelResult, AppPanelProcess, AppPanelDataAssetKind, AppPanelParameterType

Enhanced computation.py:

  • Added run_pipeline() method as a convenience alias for pipeline execution

Enhanced data_asset.py:

  • Added endpoint_name field to support custom S3 endpoints for data asset creation (Code Ocean v4.1 feature)

Updated client.py:

  • Added client.pipelines for accessing pipeline APIs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants